<?php
class cmspad_validator_empty{
	
	public function validate($value){
		return trim($value) === '';
	}
	
	public static function getJavascript($value){
		return "return /^\\s*$/.test($value);";
	}
}
?>
